<!--{Atemplate tpl/header}-->

<style>
.-body{text-align:center;}
.gzip_info{width:100%;margin:5px 0;text-align:left;float:left;}
.gzip_info ._server{width:39%;overflow:hidden;float:left;}
.gzip_info ._header{width:60%;overflow:hidden;float:right;}
.gzip_info ._content{width:100%;float:left;}
.gzip_info ._content pre{height:400px;overflow:scroll;}
</style>

<div class="-body">

	<h3>网页Gzip压缩 Header头信息检测 - abans.cn</h3>
	<form method="get" class="tool_gzip">
		输入网址:<input type="text" name="site" size="48" value="$site"/>
		<input type="submit" value="检测"/>
	</form>
	<font color=#ff0080>IP查询结果: <b>$site ==>> $ip ==>> $ipr[city] $ipr[add]</b></font><br>
	<div>
		<h2>查询历史</h2>
		<!--{loop $gzip_list $key $val}-->
		<a href="/tool/gzip/<!--{eval echo Afun_urlencode($val[url])}-->">$val[url]</a>
		<!--{/loop}-->
	</div>
<!--{if $info}-->
<div class="gzip_info">
	<div class="_server">
		<table class="-table">
			<th colspan="2">server信息</th>
			<!--{loop $ainfo $key $val}-->
			<tr><td>$key&nbsp;</td><td>$val&nbsp;</td></tr>
			<!--{/loop}-->
		</table>
	</div>
	<div class="_header">
		<table class="-table">
			<th colspan="2">header信息</th>
			<!--{loop $aheaders $key $val}-->
			<tr><td>$key</td><td>$val</td></tr>
			<!--{/loop}-->
			<!--{loop $headers $key $val}-->
			<tr><td>$val[0]&nbsp;</td><td>$val[1]&nbsp;</td></tr>
			<!--{/loop}-->
		</table>
	</div>
	<div class="_content">
		<h2 class="-h2">网页源代码</h2>
		<pre>$file_contents</pre>
	</div>
</div>
<!--{/if}-->
</div>

<!--{Atemplate tpl/footer}-->